/* GTK - The GIMP Toolkit
* Copyright (C) 2011 Alberto Ruiz <aruiz@gnome.org>
- * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
- *
- * Massively updated to rework the user interface by Alberto Ruiz, 2011
- * Massively updated for Pango by Owen Taylor, May 2000
- * GtkFontChooser widget for Gtk+, by Damon Chaplin, May 1998.
- * Based on the GnomeFontSelector widget, by Elliot Lee, but major changes.
- * The GnomeFontSelector was derived from app/text_tool.c in the GIMP.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
static void
gtk_font_chooser_set_property (GObject *object,
- guint prop_id,
- const GValue *value,
- GParamSpec *pspec)
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *pspec)
{
GtkFontChooser *fontchooser;
void
set_range_marks (GtkFontChooserPrivate *priv,
- GtkWidget* size_slider,
- gint* sizes,
- gint length)
+ GtkWidget *size_slider,
+ gint *sizes,
+ gint length)
{
GtkAdjustment *adj;
gint i;
}
gboolean
-zoom_preview_cb (GtkWidget *scrolled_window, GdkEventScroll *event, gpointer data)
+zoom_preview_cb (GtkWidget *scrolled_window,
+ GdkEventScroll *event,
+ gpointer data)
{
GtkFontChooserPrivate *priv = (GtkFontChooserPrivate*)data;
}
-/*****************************************************************************
+/*
* These functions are the main public interface for getting/setting the font.
- *****************************************************************************/
+ */
/**
* gtk_font_chooser_get_family:
/* GTK - The GIMP Toolkit
* Copyright (C) 2011 Alberto Ruiz <aruiz@gnome.org>
- * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
- *
- * Massively updated to rework the user interface by Alberto Ruiz, 2011
- * Massively updated for Pango by Owen Taylor, May 2000
- * GtkFontChooser widget for Gtk+, by Damon Chaplin, May 1998.
- * Based on the GnomeFontSelector widget, by Elliot Lee, but major changes.
- * The GnomeFontSelector was derived from app/text_tool.c in the GIMP.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
void (*_gtk_reserved4) (void);
};
-/*****************************************************************************
- * GtkFontChooserDialog functions.
- * most of these functions simply call the corresponding function in the
- * GtkFontChooser.
- *****************************************************************************/
-
GType gtk_font_chooser_dialog_get_type (void) G_GNUC_CONST;
GtkWidget* gtk_font_chooser_dialog_new (const gchar *title);